Video predictive encoding device and system, video predictive decoding device and system

ABSTRACT

A video predictive encoding device includes an input module to receive pictures forming a video sequence, and an encoding module to encode the pictures by either intra prediction or inter prediction to generate compressed picture data, and to packetize the compressed image data along with packet header information. The packet header information includes a picture type. The encoding module determines the picture type so as to uniquely indicate whether encoded picture data is used for reference in decoding of another picture.

PRIORITY

This application is a continuation of Ser. No. 14/588,760, filed Jan. 2,2015, which is a continuation of PCT/JP2013/064498, filed May 24, 2013,which claims the benefit of the filing date pursuant to 35 U.S.C. § 119of JP2012-152700, filed Jul. 6, 2012, all of which are incorporatedherein by reference.

TECHNICAL FIELD

The present disclosure relates to a video predictive coding system thatincludes a video predictive encoding device that can perform a videopredictive encoding method and that can include a video predictiveencoding program; and a video predictive decoding device that canperform a video predictive decoding method and that can include a videopredictive decoding program.

BACKGROUND ART

In the conventional video compression technology, a bit stream isencapsulated in a network abstraction layer (NAL) unit. The NAL unitprovides a self-contained packet and gives a video layer identity indifferent network environments. A header of the NAL unit containsinformation used in a system layer. The header of the NAL unit becomes apart of the packet header used in a packet network, and is designed tooperate by media aware network elements (MANEs).

The NAL unit header in the conventional technology includes thefollowing syntax elements: nal_ref_flag which indicates whether the NALunit is used for reference in a decoding process of another NAL unit;nal_unit_type which indicates a type of a content transmitted by the NALunit, where the NAL unit contains information such as a parameter set, acoded slice, or a supplemental enhancement information (SEI) message;and temporal_id which indicates a temporal identifier of the NAL unit.

SUMMARY

Media aware network elements (MANEs) are designed to check the minimumnumber of bytes in the header of a packet, the network abstraction layer(NAL) unit header is a limited resource. In some examples, the NAL unitheader is limited to only 2 bytes. For this reason, all syntax elementsof the NAL unit header can be important and should transmit as muchinformation as possible, and be unrelated to the other syntax elements.

In NAL unit types, an nal_ref_flag can be set at a fixed value, and thusan nal_ref_flag may not be needed. In an example, such as described inBenjamin Bross et al., “High efficiency video coding (HEVC) textspecification draft 7,” Joint Collaborative Team on Video Coding(JCT-VC) of ITU-T SG16 WP3 and ISO/IEC JTC1/SC29/WG11, 9th Meeting:Geneva, CH, 27 Apr.-7 May 2012, there can be only three kinds of NALunit types having a nal_ref_flag that can be a value of either 0 or 1,whereas the value of nal_ref_flag for other NAL unit types is fixed. Anexample is shown in Table 1.

TABLE 1 Fixed/Variable NAL unit type range Possible nal_ref_flagnal_ref_flag 1 to 3 0 or 1 Variable 4 to 8 1 Fixed 25 to 28 1 Fixed 29to 31 0 Fixed

Table 1 shows correspondence between the values of nal_unit_type (NALunit type range column) and the possible values of the nal_ref_flag(Possible nal_ref_flag column). In this example, the NAL unit types ofnal_unit_type can have values of 1, 2, or 3 and the corresponding valuesof nal_ref_flag can have values of 0 or 1. The remaining NAL unit typescan have corresponding values for the nal_ref_flag that are fixed(reserved), or not specified.

Although the value of nal_ref_flag can be uniquely determined accordingto the value of nal_unit_type as described above, this technique canassign respective bits to nal_ref_flag and nal_unit_type, resulting inan inefficient design.

An example solution to eliminate this inefficiency is for a videopredictive coding system to infer the value of nal_ref_flag from the NALunit type, without explicitly sending nal_ref_flag in the NAL unitheader. For example, three NAL unit types in which it is inferred thatnal_ref_flag is 1 can be added to the three NAL unit types, the contentof which can be a reference picture or a non-reference picture. For theoriginal three NAL unit types, it can be inferred that nal_ref_flag is0.

A video predictive coding system can include a video predictive encodingdevice according to an embodiment that includes input means that inputsa plurality of pictures forming a video sequence; and encoding meanswhich encodes the pictures by either intra prediction or interprediction to generate compressed picture data, and which packetizes thecompressed picture data along with packet header information, whereinthe packet header information contains a picture type, and wherein theencoding means determines the picture type so as to uniquely indicatewhether encoded picture data is used for reference in decoding ofanother picture. An encoding means of a video predictive encoding deviceaccording to an embodiment determines the picture type so as to uniquelyindicate whether encoded picture data is used for reference in decodingof another picture in the same temporal layer.

A video predictive coding system can include a video predictive decodingdevice according to an embodiment that includes input means which inputscompressed picture data resulting from encoding of a plurality ofpictures forming a video sequence by either intra prediction or interprediction and packetization of the compressed picture data with packetheader information; and decoding means which reconstructs the packetheader information and the compressed picture data, wherein the packetheader information contains a picture type uniquely indicating whetherreconstructed picture data is used for reference in decoding of anotherpicture, and wherein the decoding means determines, based on the picturetype, whether reconstructed picture data is used for reference indecoding of another picture.

In the video predictive decoding device according to an embodiment, thedecoding means determines whether reconstructed picture data is used forreference in decoding of another picture, based on a correspondencetable in which the picture type is previously stored in association withinformation indicative of whether reconstructed picture data is used forreference in decoding of another picture. A decoding means of a videopredictive decoding device according to an embodiment determines, basedon the picture type, whether reconstructed picture data is used forreference in decoding of another picture in the same temporal layer.

A video predictive encoding method according to an embodiment is a videopredictive encoding method comprising: an input step of inputting aplurality of pictures forming a video sequence; and an encoding step ofencoding the pictures by either intra prediction or inter prediction togenerate compressed picture data, and packetizing the compressed picturedata with packet header information, wherein the packet headerinformation contains a picture type, and wherein the encoding stepdetermines the picture type so as to uniquely indicate whether encodedpicture data is used for reference in decoding of another picture. Anencoding step of a video predictive encoding method according to anembodiment determines the picture type so as to uniquely indicatewhether encoded picture data is used for reference in decoding ofanother picture in the same temporal layer.

A video predictive decoding method according to an embodiment is a videopredictive decoding method comprising: an input step of inputtingcompressed picture data resulting from encoding of a plurality ofpictures forming a video sequence by either intra prediction or interprediction and packetization of the compressed picture data with packetheader information; and a decoding step of reconstructing the packetheader information and the compressed picture data as reconstructedpicture data, wherein the packet header information contains a picturetype uniquely indicating whether the reconstructed picture data is usedfor reference in decoding of another picture, and wherein the decodingstep determines, based on the picture type, whether reconstructedpicture data is used for reference in decoding of another picture.

In the video predictive decoding method according to an embodiment thedecoding step determines whether reconstructed picture data is used forreference in decoding of another picture, based on a correspondencetable in which the picture type is previously stored in association withinformation indicative of whether reconstructed picture data is used forreference in decoding of another picture. A decoding step of a videopredictive decoding method according to an embodiment determines, basedon the picture type, whether reconstructed picture data is used forreference in decoding of another picture in the same temporal layer.

A video predictive encoding program according to an embodiment is avideo predictive encoding program comprising: an input module whichinputs a plurality of pictures forming a video sequence; and an encodingmodule which encodes the pictures by either intra prediction or interprediction to generate compressed picture data, and which packetizes thecompressed picture data along with packet header information, whereinthe packet header information contains a picture type, and wherein theencoding module determines the picture type so as to uniquely indicatewhether encoded picture data is used for reference in decoding ofanother picture. An encoding module of a video predictive encodingprogram according to an embodiment determines the picture type so as touniquely indicate whether encoded picture data is used for reference indecoding of another picture in the same temporal layer.

A video predictive decoding program according to an embodiment is avideo predictive decoding program comprising: an input module whichinputs compressed picture data resulting from encoding of a plurality ofpictures forming a video sequence by either intra prediction or interprediction and packetization of the compressed picture data with packetheader information; and a decoding module which reconstructs the packetheader information and the compressed picture data, wherein the packetheader information contains a picture type uniquely indicating whetherreconstructed picture data is used for reference in decoding of anotherpicture, and wherein the decoding module determines, based on thepicture type, whether reconstructed picture data is used for referencein decoding of another picture.

In the video predictive decoding program according to an embodiment thedecoding module determines whether reconstructed picture data is usedfor reference in decoding of another picture, based on a correspondencetable in which the picture type is previously stored in association withinformation indicative of whether reconstructed picture data is used forreference in decoding of another picture. A decoding module of a videopredictive decoding program according to an embodiment determines, basedon the picture type, whether reconstructed picture data is used forreference in decoding of another picture in the same temporal layer.

Use of the video predictive coding system can result in savings of thenumber of bits used for nal_ref_flag, and enable use thereof as otherindication information. This results in a more efficient utilization ofthe NAL unit header. In another embodiment, extension of the NAL unittypes from 6 bits to 7 bits is enabled. In an example, the existing NALunit types are assigned to half of 64 values of nal_unit_type availableand the other 32 values of nal_unit_type are reserved, and can be usedin defining new NAL unit types in the future. By using three of thesereserved values of NAL unit types, and extending the bit count of theNAL unit types to 7 bits, it becomes feasible to define 93 (128−32−3=93)further NAL units in the future.

Other systems, methods, features and advantages will be, or will become,apparent to one with skill in the art upon examination of the followingfigures and detailed description. It is intended that all suchadditional systems, methods, features and advantages be included withinthis description, be within the scope of the disclosure, and beprotected by the following claims.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a block diagram showing an example of a video predictiveencoding device according to an embodiment.

FIG. 2 is a block diagram showing an example of a video predictivedecoding device according to an embodiment.

FIG. 3 is a flowchart showing an example of processing of a videopredictive encoding method according to an embodiment.

FIG. 4 is a flowchart showing an example of a detailed part ofprocessing of the video predictive encoding method according to anembodiment.

FIG. 5 is a flowchart showing an example of processing of a videopredictive decoding method according to an embodiment.

FIG. 6 is a flowchart showing an example of a detailed part ofprocessing of the video predictive decoding method according to anembodiment.

FIG. 7 is a hardware configuration of an example of a computer forexecuting a program stored in a storage medium.

FIG. 8 is a perspective view of an example of a computer for executing aprogram stored in a storage medium.

FIG. 9 is a block diagram showing a configuration example of a videopredictive encoding program.

FIG. 10 is a block diagram showing a configuration example of a videopredictive decoding program.

DESCRIPTION OF EMBODIMENTS

Embodiments of the video predictive coding system will be describedbelow with reference to FIGS. 1 to 10.

First, a video predictive encoding method will be described. FIG. 1 is ablock diagram showing an example of a video predictive encoding deviceaccording to an embodiment of the predictive video coding system.Reference numeral 101 denotes an input terminal, 102 a block partitionmodule, 103 a predicted signal generation module, 104 a frame memory,105 a subtraction module, 106 a transform module, 107 a quantizationmodule, 108 a de-quantization module, 109 an inverse transform module,110 an addition module, 111 an entropy encoding module, 112 an outputterminal, and 113 an input terminal. The input terminal 101 correspondsto an input module. The subtraction module 105, transform module 106,quantization module 107, and entropy encoding module 111 correspond toan encoding module. The de-quantization module 108, inverse transformmodule 109, and addition module 110 correspond to a decoding module. Asused herein, the term “module” describes hardware that may also executesoftware to perform the described functionality. The video predictiveencoding device may be a computing device or computer, includingcircuitry in the form of hardware, or a combination of hardware andsoftware, capable of performing the described functionality. The videopredictive encoding device may be one or more separate systems ordevices included in the video predictive coding system, or may becombined with other systems or devices within the video predictivecoding system. In other examples, fewer or additional modules may beused to illustrate the functionality of the predictive video encodingdevice.

Concerning the video predictive encoding device configured as describedabove, the operation thereof will be described below. A video signalconsisting of a plurality of pictures is fed to the input terminal 101.A picture of an encoding target is partitioned into a plurality ofregions by the block partition module 102. In an embodiment of thepredictive coding system, the target picture is partitioned into blockseach consisting of 8×8 pixels, but it may be partitioned into blocks ofany size or shape other than the foregoing. A predicted signal is thengenerated for a region as a target of an encoding process (which will bereferred to hereinafter as a target block). An embodiment of thepredictive coding system can employ two types of prediction methods.Namely, the two types of prediction methods are inter prediction andintra prediction.

In the inter prediction, reconstructed pictures having been encoded andthereafter reconstructed are used as reference pictures and motioninformation to provide the predicted signal with the smallest error fromthe target block is determined from the reference pictures. This processis called motion estimation. Depending upon the situation, the targetblock may be further partitioned into sub-regions and an interprediction method can be determined for each of the sub-regions. In thiscase, the most efficient partition method for the entire target blockand motion information of each sub-region are determined out of variouspartition methods. In embodiments, the operation is carried out in thepredicted signal generation module 103, the target block is fed via lineL102, and the reference pictures are fed via line L104. The referencepictures to be used herein are a plurality of pictures which have beenencoded and reconstructed in the past. The details of encoding andreconstruction can be, for example, the same as in the methods of MPEG-2or 4 and H.264, which are the conventional technologies. The motioninformation and sub-region partition method determined as describedabove are fed via line L112 to the entropy encoding module 111 to beencoded thereby, and then the encoded data is output from the outputterminal 112. Information (reference index) indicating from whichreference picture the predicted signal is derived out of the pluralityof reference pictures is also sent via line L112 to the entropy encodingmodule 111. The predicted signal generation module 103 derives referencepicture signals from the frame memory 104, based on the referencepictures and motion information, corresponding to the sub-regionpartition method and each sub-region, and generates the predictedsignal. The inter-predicted signal generated in this manner is fed vialine L103 to the subtraction module 105.

In intra prediction, an intra-predicted signal is generated usingreconstructed pixel values spatially adjacent to the target block.Specifically, the predicted signal generation module 103 derivesreconstructed pixel signals in the same frame from the frame memory 104and extrapolates these signals to generate the intra-predicted signal.The information about the method of extrapolation is fed via line L112to the entropy encoding module 111 to be encoded thereby, and then theencoded data is output from the output terminal 112. The intra-predictedsignal generated in this manner is fed to the subtraction module 105.The method of generating the intra-predicted signal in the predictedsignal generation module 103 can be, for example, the same as the methodof H.264, which is the conventional technology. The predicted signalwith the smallest error is selected from the inter-predicted signalsobtained as described above, and the selected predicted signal is fed tothe subtraction module 105.

The subtraction module 105 subtracts the predicted signal (fed via lineL103) from the signal of the target block (fed via line L102) togenerate a residual signal. This residual signal is transformed by adiscrete cosine transform by the transform module 106 to form transformcoefficients, which are quantized by the quantization module 107.Finally, the entropy encoding module 111 encodes the quantized transformcoefficients and the encoded data is output along with the informationabout the prediction method from the output terminal 112.

For the intra prediction or the inter prediction of the subsequenttarget block, the compressed signal of the target block is subjected toinverse processing in order to be reconstructed. Namely, the quantizedtransform coefficients are inversely quantized by the de-quantizationmodule 108 and then transformed using an inverse discrete cosinetransform by the inverse transform module 109, to reconstruct a residualsignal. The addition module 110 adds the reconstructed residual signalto the predicted signal fed via line L103 to reconstruct a signal of thetarget block and the reconstructed signal is stored in the frame memory104. The present embodiment employs the transform module 106 and theinverse transform module 109, but it is also possible in otherembodiments to use other transform processing instead of these transformmodules. Depending upon the situation, in some embodiments the transformmodule 106 and the inverse transform module 109 may be omitted.

Input data from the input terminal 113 includes display orderinformation of each picture, a type of encoding of each picture (intrapredictive encoding, inter predictive encoding, or bidirectionalpredictive encoding), and information about the NAL unit type, and thepredicted signal generation module 103 operates based on these pieces ofinformation. These pieces of information are also fed via line L113 tothe entropy encoding module 111 to be encoded thereby, and the encodeddata is output from the output terminal 112. The operation of theentropy encoding module 111 for encoding of the NAL unit type will bedescribed later.

Next, a video predictive decoding method will be described. FIG. 2 is ablock diagram showing a video predictive decoding device according to anembodiment of the predictive video coding system. Reference numeral 201denotes an input terminal, 202 a data analysis module, 203 ade-quantization module, 204 an inverse transform module, 205 an additionmodule, 206 an output terminal, 207 a frame memory, 208 a predictedsignal generation module, and 209 a frame memory management module. Theinput terminal 201 corresponds to an input module. The data analysismodule 202, de-quantization module 203, inverse transform module 204,and addition module 205 correspond to a decoding module. In otherembodiments, the decoding module may be means other than the foregoing.Furthermore, in embodiments the decoding module may be configuredwithout the inverse transform module 204. The video predictive decodingdevice may be a computing device or computer, including circuitry in theform of hardware, or a combination of hardware and software, capable ofperforming the described functionality. The video predictive decodingdevice may be one or more separate systems or devices included in thevideo predictive coding system, or may be combined with other systems ordevices within the video predictive coding system. In other examples,fewer or additional modules may be used to illustrate the functionalityof the predictive video decoding device.

Concerning the video predictive decoding device configured as describedabove, the operation thereof will be described below. Compressed dataresulting from compression encoding by the video predictive encodingdevice is input through the input terminal 201. This compressed datacontains the residual signal resulting from predictive encoding of eachtarget block obtained by partitioning of a picture into a plurality ofblocks, and the information related to the generation of the predictedsignal. The information related to the generation of the predictedsignal includes, in addition to the NAL unit type, the information aboutblock partitioning (size of block), the motion information, and theaforementioned reference index in the case of the inter prediction, andincludes the information about the extrapolation method fromreconstructed surrounding pixels in the case of the intra prediction.

The data analysis module 202 extracts the residual signal of the targetblock, the information related to the generation of the predicted signalincluding the NAL unit type, the quantization parameter, and the displayorder information of the picture from the compressed data. The operationfor extraction of the NAL unit type in the data analysis module 202 willbe described later. The residual signal of the target block is inverselyquantized on the basis of the quantization parameter (fed via line L202)by the de-quantization module 203. The result is transformed by aninverse discrete cosine transform by the inverse transform module 204.

Next, the information related to the generation of the predicted signalsuch as the display order information of the target picture, theencoding type of the picture, the NAL unit type, and the reference indexis fed via line L206 to the predicted signal generation module 208. Thepredicted signal generation module 208 accesses the frame memory 207,based on the information related to the generation of the predictedsignal, to derive a reference signal from a plurality of referencepictures (via line L207) and generate a predicted signal. This predictedsignal is fed via line L208 to the addition module 205, the additionmodule 205 adds this predicted signal to the reconstructed residualsignal to reconstruct a target block signal, and the signal is outputvia line L205 from the output terminal 206 and simultaneously storedinto the frame memory 207.

Reconstructed pictures to be used for decoding and reconstruction of thesubsequent picture are stored in the frame memory 207.

Table 2 and Table 3 are tables indicating example of choices of twotypes of syntaxes concerning use modes of two bytes of the NAL unitheader.

TABLE 2 Descriptor nal_unit( NumBytesInNALunit ) { forbidden_zero_bitf(1) reserved u(1) nal_unit_type u(6) temporal_id u(3)reserved_one_5bits u(5)  .... (The rest of the NAL unit)

TABLE 3 Descriptor nal_unit( NumBytesInNALunit ) { forbidden_zero_bitf(1) nal_unit_type u(7) temporal_id u(3) reserved_one_5bits u(5)  ....(The rest of the NAL unit)

In Tables 2 and 3, numbers in parentheses in the Descriptor columnindicate bit counts of corresponding items.

In the NAL unit header syntax of Table 2, nal_ref_flag is replaced by areserved bit (reserved). This bit is ignored by currently existingdecoding devices, but it can be assigned a new meaning or semantics forfuture decoding devices. It is noted that the bit arrangement in Table 2is just for description and the reserved bit may be located at anotherlocation in the 2-byte header.

In the NAL unit header syntax of Table 3, nal_unit_type is assigned 7bits and at most 128 different kinds of nal_unit_type can be definedthereby. In the present embodiment the assignment of 7 bits tonal_unit_type was selected, but the bit saved in nal_ref_flag may beassigned to another location, such as temporal_id.

Table 4 shows an example of the NAL unit types in an embodiment.

TABLE 4 Content of NAL unit and nal_unit_type Category RBSP syntaxstructure nal_ref_flag 0 Unspecified — 1 Other slice Coded slice of anon-RAP, non- 0 TFD and non-TLA picture slice_layer_rbsp( ) 2 TFD sliceCoded slice of a TFD picture 0 slice_layer_rbsp( ) 3 TLA slice Codedslice of a non-TFD TLA 0 picture slice_layer_rbsp( ) 4 RAP slice Codedslice of a CRAT picture 1 slice_layer_rbsp( ) 5 RAP slice Coded slice ofan CRANT 1 picture slice_layer_rbsp( ) 6 RAP slice Coded slice of a BLCTpicture 1 slice_layer_rbsp( ) 7 RAP slice Coded slice of a BLCNT 1picture slice_layer_rbsp( ) 8 RAP slice Coded slice of an IDR picture 1slice_layer_rbsp( ) 9 Other slice Coded slice of a non-RAP, non- 1 TFDand non-TLA picture slice_layer_rbsp( ) 10 TFD slice Coded slice of aTFD picture 1 slice_layer_rbsp( ) 11 TLA slice Coded slice of a non-TFDTLA 1 picture slice_layer_rbsp( ) 12 . . . 24 Reserved — 25 ParameterVideo parameter set 1 Set video_parameter_set_rbsp( ) 26 ParameterSequence parameter set 1 Set seq_parameter_set_rbsp( ) 27 ParameterPicture parameter set 1 Set pic_parameter_set_rbsp( ) 28 ParameterAdaptation parameter set 1 Set aps_rbsp( ) 29 Information Access unitdelimiter 0 access_unit_delimiter_rbsp( ) 30 Information Filler data 0filler_data_rbsp( ) 31 Information Supplemental enhancement 0information (SEI) sei_rbsp( ) 32 . . . 47 Reserved — 48 . . . 63Unspecified —

Table 4 is showing values of nal_ref_flag estimated from the values ofnal_unit_type. The NAL unit types can be grouped into a plurality ofcategories, an example of which is shown in the second column of Table4. The example categories are as described below.

1) RAP slice: NAL unit including a coded slice of a random accesspicture.

2) TLA slice: NAL unit including a coded slice of temporal layer access.

3) TFD slice: NAL unit including a coded slice of a picture tagged fordiscard.

4) Other slice: NAL unit including a coded slice except for the aboveslices 1)-3).

5) Parameter set: NAL unit including a video, sequence, picture, oradaptation parameter set.

6) Information: NAL unit including an access delimiter, filler data, orsupplemental enhancement information (SEI).

In the present embodiment, three new kinds of NAL unit typescorresponding to 9, 10, and 11 as values of nal_unit_type (picturetypes) are added to nal_unit_type in the conventional technology. TheNAL units with these values of nal_unit_type include the same slicetypes as the NAL units with the respective values of nal_unit_type of 1,2, and 3. nal_unit_type: 1 includes a coded slice of a non-RAP, non-TFD,and non-TLA picture, nal_unit_type: 2 includes a coded slice of a TFDpicture, and nal_unit_type: 3 includes a coded slice of a non-TFTpicture and a TLA picture.

The present embodiment is different from the conventional technology inthat the values 1, 2, and 3 are the coded slices belonging tonon-reference pictures and the values 9, 10, and 11 are the coded slicesbelonging to reference pictures.

The values assigned to the respective categories are not limited tothose described above. Furthermore, each category may be extended tosome sub-categories and these sub-categories may be assigned new values,using the reserved values in Table 4.

FIG. 3 shows an example of the operation of the video predictiveencoding device for encoding of the NAL unit header in the presentembodiment. In step 118, the video predictive encoding device derivesvideo data to be packetized. In step 120, the device encodes the firstbit of the NAL unit always fixed to 0. In step 130, the devicedetermines nal_unit_type and encodes it. In step 140 the device encodestemporal_id, and in step 150 the device encodes reserved five bits(reserved_one_5 bits), completing the NAL unit header. In step 160, thedevice packetizes the remaining payload (payload) and terminates theprocessing.

FIG. 4 shows the details of an example of a process in the determinationand encoding of nal_unit_type in step 130 above.

In step 210, the video predictive encoding device determines whether thedata to be packetized is a coded slice belonging to any one of randomaccess pictures (RAPs); when the data is a coded slice belonging to anyone of RAPs (YES), the device goes to step 220. If not (NO) the devicegoes to step 230.

In step 220, the video predictive encoding device encodes nal_unit_typeby a number from 4 to 8 to infer that nal_ref_flag is 1, according tothe RAP type, and then moves to step 140.

In step 230, the video predictive encoding device determines whether thedata to be packetized is a parameter set, and when the data isdetermined to be a parameter set (YES), the device moves to step 240. Ifthe data is not a parameter set (NO), the device moves to step 250. Instep 240, the video predictive encoding device encodes nal_unit_type bya number from 25 to 28 to infer that nal_ref_flag is 1, according to theparameter set, and then the device moves to step 140.

In step 250, the video predictive encoding device determines whether thedata to be packetized is information data, and when the data isinformation data (YES), the device moves to step 260. If not (NO) thedevice moves to step 270.

In step 260, the video predictive encoding device encodes nal_unit_typeby a number from 29 to 31 to infer that nal_ref_flag is 0, according tothe information type, and then moves to step 140.

In step 270, the video predictive encoding device determines whether thedata to be packetized is a reference picture, and when the data is areference picture (YES), the device moves to step 280. If the data isnot a reference picture (NO), the device moves to step 290. Thedetermination of whether or not the data is a reference picture is madebased on the reference information between pictures output from thepredicted signal generation module.

The conditional branching in step 270 may be arranged as follows. Instep 270 the video data can be determined as either a reference pictureor a non-reference picture. In step 270 the video predictive encodingdevice determines whether the picture is a reference picture, and whenthe picture is a reference picture (YES), the device moves to step 280.If the picture is not a reference picture (NO), the device moves to step290.

In step 280, the video predictive encoding device encodes nal_unit_typeby a number from 9 to 11 to infer that nal_ref_flag is 1, according tothe slice type, and then moves to step 140.

In step 290, the video predictive encoding device encodes nal_unit_typeby a number from 1 to 3 to infer that nal_ref_flag is 0, according tothe slice type, and then the device moves to step 140.

FIG. 5 shows an example of operation of the video predictive decodingdevice for decoding of the NAL unit header in the present embodiment. Instep 310, the video predictive decoding device derives a next packet fordecoding. In step 320, the device decodes the first bit(forbidden_zero_bit) of the NAL unit always fixed to 0. In step 330, thedevice decodes nal_unit_type and sets the value of nal_ref_flag. In step340 the device decodes temporal_id and in step 350 the device decodesthe reserved five bits (reserved_one_5 bits) to complete the NAL unitheader. In step 360 the device reads out the remaining payload from thepacket and then terminates the processing.

FIG. 6 shows the details of an example of a process in the decoding ofnal_unit_type and the setting of the value of nal_ref_flag in step 330above.

In step 400, the video predictive decoding device decodes the NAL unitheader to derive the value of nal_unit_type.

In step 410, the video predictive decoding device determines whether thevalue of nal_unit_type is a number from 1 to 3, and when the value isany one of 1 to 3 (YES), the NAL unit includes one of the coded slicesof non-reference pictures and therefore the device moves to step 420. Ifvalue of nal_unit_type is not a number from 1 to 3 (NO), the devicemoves to step 430.

In step 420, the video predictive decoding device sets the value ofnal_ref_flag to 0 and then moves to step 340.

In step 430, the video predictive decoding device determines whether thevalue of nal_unit_type is a number from 4 to 11, and when the value isany one of 4 to 11 (YES), the NAL unit includes one of the coded slicesof random access pictures or coded slices of reference pictures, andtherefore the device moves to step 440. If the value of nal_unit_type isnot a number from 4 to 11 (NO) the device moves to step 450.

In step 440, the video predictive decoding device sets the value ofnal_ref_flag to 1 and then moves to step 340.

In step 450, the video predictive decoding device determines whether thevalue of nal_unit_type is a number from 25 to 28, and when the value isany one of 25 to 28 (YES), the NAL unit includes a parameter set andthen the device moves to step 460. If the value of nal_unit_type is nota number from 25 to 28 (NO), the device moves to step 470.

In step 460, the video predictive decoding device sets the value ofnal_ref_flag to 1 and then moves to step 340.

In step 470, the video predictive decoding device determines whether thevalue of nal_unit_type is a number from 29 to 31, and when the value isany one of 29 to 31 (YES), the NAL unit includes information data andthen the device moves to step 480. If the value of nal_unit_type is nota number from 29 to 31 (NO), nal_unit_type is an invalid value and thedevice moves to step 490.

In step 480, the video predictive decoding device sets the value ofnal_ref_flag to 0 and then moves to step 340.

In step 490, the video predictive decoding device determines that thevalue of nal_ref_flag is undefined, and then the device moves to step340.

In the present embodiment the aforementioned setting of nal_ref_flag isperformed through the logical determination, but in other embodiments,the value of nal_ref_flag may also be set using a reference table ofnal_ref_flag against index of nal_unit_type. Table 5 is an example ofthe reference table of nal_ref_flag against index of nal_unit_type.

TABLE 5 Inferred value of NAL unit type range nal_ref_flag 1 to 3 0  4to 11 1 25 to 28 1 29 to 31 0

In Table 5, the thirty two entries of nal_ref_flag are set to the samevalues as in the last column of Table 4.

The aforementioned nal_ref_flag estimation or setting method is notlimited to the video predictive decoding device but can also be appliedto the MANEs.

In the present embodiment the video predictive decoding device mayselect not performing the setting of nal_ref_flag and may directly usethe value of nal_unit_type in determining whether a decoded picture is areference picture. This can be explained as follows by use of a logicalexpression. When nal_unit_type of the relevant picture is 1, 2, or 3,the relevant picture is a non-reference picture. Otherwise, the relevantpicture is a reference picture and is stored for use as reference ofanother picture.

In the present embodiment the definition of reference picture andnon-reference picture is applied to the entire video data. However, inembodiments where the video data is subjected to a selective frame dropprocess to discard pictures in a higher temporal layer, this definitionmay no longer be accurate.

Under such circumstances, some reference pictures can be pictures thatare not used for reference. To avoid this situation, in some embodimentsthe reference pictures with nal_unit_type of 9, 10, and 11 and thenon-reference pictures with nal_unit_type of 1, 2, and 3 may be definedas described below.

A reference picture is a picture to be used for inter prediction by anyother picture in the same temporal layer as the foregoing picture.

A non-reference picture is a picture that is not to be used for interprediction by any other picture in the same temporal layer as theforegoing picture.

In a method, such as the method described in Benjamin Bross et al.,“High efficiency video coding (HEVC) text specification draft 7,” JointCollaborative Team on Video Coding (JCT-VC) of ITU-T SG16 WP3 andISO/IEC JTC1/SC29/WG11, 9th Meeting: Geneva, CH, 27 Apr.-7 May 2012, theinter prediction is instructed by a content of a reference picture set(RPS) to define which pictures can be used for inter prediction. Forthis reason, the foregoing definition may be described as follows.

A non-reference picture (with nal_unit_type of 1, 2, or 3) is notincluded in the RPS of any other picture in the same temporal layer asthe foregoing picture.

A reference picture (with nal_unit_type of 9, 10, or 11) is included inthe RPS of any other picture in the same temporal layer as the foregoingpicture.

A video predictive encoding program and a video predictive decodingprogram can be used as part of the video predictive coding system toenable at least some functions of the modules of the foregoing videopredictive encoding device and video predictive decoding device. Thevideo predictive encoding program and video predictive decoding programcan be provided as programs stored in a storage medium. Examples of suchstorage media include disks, CD-ROMs, DVDs, and ROMs, semiconductormemories, and so on.

FIG. 7 is a drawing showing an example of a hardware circuitryconfiguration of a computer for executing a program stored in a storagemedium and FIG. 8 is an example of a perspective view of a computer forexecuting a program stored in a storage medium. The computer can beembodied in a DVD player, a set-top box, a cell phone, etc., providedwith a central processing unit (CPU), and be configured to performprocessing and control by software.

As shown in FIG. 7, the computer 30 is provided with circuitry thatincludes a reading device 12 such as a disk drive unit, a CD-ROM driveunit, or a DVD drive unit, a communication port such as a universalserial bus port (USB), Bluetooth port, an infrared communication port,or any other type of communication port that allows communication withan external device, such as another computer or memory device. Thecomputer 30 may also include a working memory 14 that may include anoperating system, a memory 16 that stores data, such as at least part ofprograms stored in the storage medium 10. In addition, the workingmemory 14 and/or the memory 16 may include the memory 14 and the memory13. The working memory 14 and memory 16 may be one or more computerreadable storage medium that is other than a transitory signal, and caninclude a solid-state memory such as a memory card or other package thathouses one or more non-volatile memories, such as read-only memories.Further, the computer readable medium can include a random access memoryor other volatile re-writable memory. Additionally or alternatively, thecomputer-readable medium can include a magneto-optical or opticalmedium, such as a disk or tapes or any other non-transitory informationstorage medium to capture carrier wave signals such as a signalcommunicated over a transmission medium. A digital file attachment to ane-mail, stored in a storage medium, or other self-contained informationarchive or set of archives may be considered a non-transitorydistribution medium that is a tangible computer readable storage medium.Accordingly, the embodiments are considered to include any one or moreof a computer-readable storage medium or a non-transitory distributionstorage medium and other equivalents and successor information storagemedia, in which data or instructions may be stored. In addition, thecomputer 30 may have user interface circuitry that includes, a monitorunit 18 like a display, a mouse 20 and a keyboard 22 as input devices, atouch screen display, a microphone for receipt of voice commands, asensor, or any other mechanism or device that allows a user to interfacewith the computer 30. In addition, the circuitry of the computer 30 mayinclude a communication device 24 for transmission and reception of dataor the like, and a CPU 26, or processor, for controlling execution ofprograms. The processor 26 may be one or more one or more generalprocessors, digital signal processors, application specific integratedcircuits, field programmable gate arrays, digital circuits, analogcircuits, combinations thereof, and/or other now known or laterdeveloped circuitry and devices for analyzing and processing data. In anexample, when the storage medium 10 is put into the reading device 12,the computer 30 becomes accessible to the video predictive encoding ordecoding program stored in the storage medium 10, through the readingdevice 12 and becomes able to operate as the video predictive encodingor decoding device, based on the video predictive encoding or decodingprogram.

As shown in FIG. 8, the video predictive encoding program or the videopredictive decoding program may be provided in the form of computer datasignal 40 superimposed on a carrier wave, through a network. In thiscase, the computer 30 can execute the video predictive encoding programor the video predictive decoding program after the video predictiveencoding program or the video predictive decoding program is received bythe communication device 24 and is stored into the memory 16.

Specifically, as shown in FIG. 9, the video predictive encoding programP100 is a video predictive encoding program provided with an inputcomponent P101 that can be executed during receipt of input of aplurality of pictures forming a video sequence, and an encodingcomponent P102 that can be executed during encoding of the pictures byeither the intra prediction or the inter prediction to generatecompressed picture data, and during packetization of the compressedpicture data with packet header information, wherein the packet headerinformation contains a picture type and wherein the encoding componentP102 can also be executed during the determination of the picture typeso as to uniquely indicate whether encoded picture data is used forreference in decoding of another picture.

Similarly, as shown in FIG. 10, the video predictive decoding programP200 is a video predictive decoding program provided with an inputcomponent P201 that can be executed during receipt of compressed picturedata resulting from encoding of a plurality of pictures forming a videosequence by either the intra prediction or the inter prediction andpacketization thereof along with packet header information, and adecoding component P202 that can be executed during reconstruction ofthe packet header information and the compressed picture data, whereinthe packet header information contains a picture type to uniquelyindicate whether reconstructed picture data is used for reference indecoding of another picture and wherein the decoding component P202 canbe executed during the determination, based on the picture type, whetherreconstructed picture data is used for reference in decoding of anotherpicture.

The decoding component P202 may also be executed during thedetermination whether reconstructed picture data is used for referencein decoding of another picture, based on a correspondence table in whichthe picture type is previously stored in association with informationindicative of whether reconstructed picture data is used for referencein decoding of another picture.

LIST OF REFERENCE SIGNS

-   -   101 input terminal; 102 block partition module; 103 predicted        signal generation module; 104 frame memory; 105 subtraction        module; 106 transform module; 107 quantization module; 108        de-quantization module; 109 inverse transform module; 110        addition module; 111 entropy encoding module; 112 output        terminal; 113 input terminal; 201 input terminal; 202 data        analysis module; 203 de-quantization module; 204 inverse        transform module; 205 addition module; 206 output terminal; 207        frame memory; 208 predicted signal generation module.

The invention claimed is:
 1. A video predictive encoding methodcomprising: inputting a plurality of pictures forming a video sequence;and encoding an inputted picture to generate a compressed form of thepicture and a reference picture set (RPS) associated with the compressedform of the picture, and encapsulating the compressed form of thepicture in a network abstraction layer (NAL) unit with NAL unit headerinformation, wherein the plurality of pictures forming the videosequence are separated into a plurality of temporal layers, and the RPSidentifies a set of pictures which is used for inter prediction of thecompressed form of the picture, wherein the NAL unit header informationcontains a nal_unit_type that is variable to define different types ofpictures and assign a first definition or a second definition, which isdifferent from the first definition, to one picture of the videosequence so that with a selective assignment of the first or seconddefinition to said one picture, the nal_unit_type is operable to (i)independently identify said one picture to be either a reference picturereferenced in a prediction process by another picture of the videosequence residing in a temporal layer in which said one picture residesor a non-reference picture not referenced by any picture of the videosequence residing in the temporal layer and (ii) generate information tostore only said reference picture in a memory, wherein said encodingcomprises determining whether said one picture is a reference picturereferenced in a prediction process by another picture of the videosequence residing in the temporal layer or a non-reference picture notreferenced by any picture of the video sequence residing in the temporallayer; in response to a determination that said one picture is areference picture referenced in a prediction process by another pictureof the video sequence residing in the temporal layer, defining thenal_unit_type to assign said one picture the first definition; and inresponse to a determination that said one picture is a non-referencepicture not referenced in a prediction process by any picture of thevideo sequence residing in the temporal layer, defining thenal_unit_type to assign said one picture the second definition, andwherein said encoding further comprises prohibiting the RPS of any otherpictures residing in the temporal layer from including a non-referencepicture of the temporal layer.
 2. The video predictive encoding methodaccording to claim 1, said encoding further comprising determiningwhether the nal_unit_type uniquely indicate the compressed form of thepicture data as to be used or not to be used for inter prediction indecoding of subsequent pictures of the temporal layer in a decodingorder, and prohibiting the RPS of the subsequent pictures in decodingorder from including a non-reference picture of the temporal layer.
 3. Avideo predictive decoding method comprising: inputting a compressed fromof a plurality of pictures forming a video sequence, where thecompressed form of a picture data is associated with a reference pictureset (RPS) and is encapsulated in a network abstraction layer (NAL) unitwith NAL unit header information; and decoding the NAL unit includingthe NAL unit header information and the RPS, and reconstructing thepicture, wherein the plurality of pictures forming the video sequenceare separated into a plurality of temporal layers, and the RPSidentifies a set of pictures which is used for inter prediction of theassociated picture, wherein the NAL unit header information contains anal_unit_type that is variable to define different types of pictures andassign a first definition or a second definition, which is differentfrom the first definition, to the encapsulated picture of the videosequence so that with a selective assignment of the first or seconddefinition to the encapsulated picture, the nal_unit_type is operable to(i) independently identify the encapsulated picture to be either areference picture referenced in a prediction process by another pictureof the video sequence residing in a temporal layer in which theencapsulated picture resides or a non-reference picture not referencedby any picture of the video sequence residing in the temporal layer and(ii) generate information to store only said reference picture in amemory, wherein said decoding further comprises: determining adefinition defined in the nal_unit_type of the encapsulated picture; inresponse to a determination that the nal_unit_type assigns theencapsulated picture the first definition, allowing the encapsulatedpicture to be used as a reference picture to decode another picture ofthe video sequence residing in the temporal layer and storing only theencapsulated picture in the memory for decoding; and in response to adetermination that the nal_unit_type assigns the encapsulated picturethe second definition, disallowing the encapsulated picture to be usedas a reference picture to decode any picture of the video sequenceresiding in the temporal layer, and wherein the RPS of any otherpictures residing in the temporal layer does not include a non-referencepicture of the temporal layer.
 4. The video predictive decoding methodaccording to claim 3, wherein the NAL unit header information contains anal_unit_type uniquely indicating whether the reconstructed picture isused or not used for inter prediction in decoding of subsequent picturesof the temporal layer in a decoding order, and the RPS of the subsequentpictures in decoding order does not include a non-reference picture ofthe temporal layer.